import request from '@/utils/request'

// 货主转移-列表
export function queryOwnerTransferList(data) {
  return request({
    url: '/wms_v1_pc/owner-transfer-order/list-owner-transfer-order',
    method: 'POST',
    data
  })
}

// 货主转移-查看
export function getOwnerTransferDetail(params) {
  return request({
    url: '/wms_v1_pc/owner-transfer-order/get-owner-transfer-order-detail',
    method: 'GET',
    params
  })
}

// 货主转移-添加
export function addOwnerTransfer(data) {
  return request({
    url: '/wms_v1_pc/owner-transfer-order/add-owner-transfer-order',
    method: 'POST',
    data
  })
}

// 货主转移-审核
export function verifyOwnerTransfer(data) {
  return request({
    url: '/wms_v1_pc/owner-transfer-order/verify-owner-transfer-order',
    method: 'POST',
    data
  })
}

// 货主转移-作废
export function cancelOwnerTransfer(data) {
  return request({
    url: '/wms_v1_pc/owner-transfer-order/cancel-owner-transfer-order',
    method: 'POST',
    data
  })
}